﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.IronOne.BoardPACWinAppDAO.DB
{
    public class Version
    {
        [PrimaryKey, AutoIncrement]
        public int RowId { get; set; }
        public int PaperId { get; set; }
        public int VersionId { get; set; }
        public DateTime CreatedDate { get; set; }
        public int _currentPage = 0;
        public int CurrentPage
        {
            get { return _currentPage; }
            set { _currentPage = value; }
        }

        public int _isAnnotBackupNeeded = 1;
        public int IsAnnotBackupNeeded
        {
            get { return _isAnnotBackupNeeded; }
            set { _isAnnotBackupNeeded = value; }
        }

        public int _annotBackupStatus = 0;
        public int AnnotBackupStatus
        {
            get { return _annotBackupStatus; }
            set { _annotBackupStatus = value; }
        }

        public int _versionInfo = 214;
        public int VersionInfo
        {
            get { return _versionInfo; }
            set { _versionInfo = value; }
        }       
    }
}